group_df <- tibble(
id = 1:1000,
height = rnorm(1000, 170, 6),
weight = rnorm(1000, 80, 10),
eye_colour = sample(c("Blue", "Green", "Brown", "Grey"),
1000,
replace = T)
)
group_df# A tibble: 1,000 × 4
id height weight eye_colour
<int> <dbl> <dbl> <chr>
1 1 172. 75.5 Green
2 2 175. 84.9 Brown
3 3 162. 85.1 Blue
4 4 169. 62.1 Green
5 5 168. 76.2 Green
6 6 171. 77.2 Green
7 7 168. 60.2 Blue
8 8 182. 95.6 Blue
9 9 176. 67.6 Blue
10 10 168. 79.9 Brown
# ℹ 990 more rows